-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vcpkg] Reduce dependencies and contents of vcpkgpaths.h #12876
Merged
strega-nil
merged 5 commits into
microsoft:master
from
ras0219:dev/roschuma/manifest-config
Aug 14, 2020
Merged
[vcpkg] Reduce dependencies and contents of vcpkgpaths.h #12876
strega-nil
merged 5 commits into
microsoft:master
from
ras0219:dev/roschuma/manifest-config
Aug 14, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The tool should be as triplet-agnostic as possible, which leaves little room for special, pre-defined names like this. However, tests do have use of them: moved into test assets.
strega-nil
approved these changes
Aug 12, 2020
vicroms
approved these changes
Aug 12, 2020
JackBoosY
added
category:vcpkg-feature
The issue is a new capability of the tool that doesn’t already exist and we haven’t committed
info:internal
This PR or Issue was filed by the vcpkg team.
labels
Aug 13, 2020
|
…roschuma/manifest-config
remz1337
pushed a commit
to remz1337/vcpkg
that referenced
this pull request
Aug 23, 2020
…2876) * [vcpkg] Remove globally-constructed pre-defined Triplets from vcpkg.exe The tool should be as triplet-agnostic as possible, which leaves little room for special, pre-defined names like this. However, tests do have use of them: moved into test assets. * [vcpkg] Move predefined tools strings vcpkgpaths.h -> tools.h * [vcpkg] Add forward declarations to vcpkgpaths.h to reduce header deps * Merge from origin/master Co-authored-by: Robert Schumacher <[email protected]>
strega-nil
pushed a commit
to strega-nil/vcpkg
that referenced
this pull request
May 5, 2021
…2876) * [vcpkg] Remove globally-constructed pre-defined Triplets from vcpkg.exe The tool should be as triplet-agnostic as possible, which leaves little room for special, pre-defined names like this. However, tests do have use of them: moved into test assets. * [vcpkg] Move predefined tools strings vcpkgpaths.h -> tools.h * [vcpkg] Add forward declarations to vcpkgpaths.h to reduce header deps * Merge from origin/master Co-authored-by: Robert Schumacher <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
category:vcpkg-feature
The issue is a new capability of the tool that doesn’t already exist and we haven’t committed
info:internal
This PR or Issue was filed by the vcpkg team.
info:reviewed
Pull Request changes follow basic guidelines
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
vcpkg/vcpkgpaths.h
is omnipresent throughout the codebase; every dependency of this file slows compilation and makes circular dependencies more difficult and more common when writing new code.This PR reduces the omniscience of this file to only use
vcpkg/base/*
files.As a drive-by improvement, this PR (nearly) removes all uses of global, pre-defined triplets from the main tool. An exception still remains for per-platform default triplets, but this is logically the only place which should require hard-coded definitions.
(per-commit review is recommended)
@strega-nil